package com.spsoft.vatoutinv.model.vo.vmstransactionflowinvoice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.spsoft.vatoutinv.constants.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author wangy
 * @date 2024/1/9 9:12
 */
@Data
@ApiModel(value = "流水开票-发票明细信息")
public class VmsManualDetailVo {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "明细序号")
    private Long mxxh;

    @ApiModelProperty(value = "项目名称,返回多个项目名称使用")
    private List<String> xmmcList;

    @ApiModelProperty(value = "项目名称")
    private String xmmc;

    @ApiModelProperty(value = "规格型号")
    private String ggxh;

    @ApiModelProperty(value = "单位")
    private String dw;

    @ApiModelProperty(value = "数量")
    private String sl;

    @ApiModelProperty(value = "单价")
    private String dj;

    @ApiModelProperty(value = "含税单价")
    private String hsdj;

    @ApiModelProperty(value = "金额（不含税）")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal je;

    @ApiModelProperty(value = "税率/征税率")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal slv;

    @ApiModelProperty(value = "税额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal se;

}
